package com.zgt.dao;

import java.util.List;

import com.zgt.model.Admin;

public interface AdminDao {

	public Admin checkLogin(Admin admin);

	public void changePassword(Admin admin);

	public boolean saveAdmin(Admin admin);

	public void deleteAdminByid(int id);

	public boolean isExist(Admin admin);

	public List<Admin> admins(int pageStart,int pageSize);

	public Admin getAdminByid(int id);
	
	public int getCount();
}
